<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
    .w-e-text-container{ min-height: 570px !important;}
</style>
    <div class="layui-form layuimini-form">
        <input type="hidden" id="id" name="id" th:value="${id}">
        <!-- 保存编辑器上传的图片名，用于记录相应的内容图片 -->
        <input type="hidden" id="imgName" name="imgName">
        <!-- 保存编辑器上传对应图片的大小 -->
        <input type="hidden" id="imgSize" name="imgSize">
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm1 required">内容栏目</label>
            <div class="layui-col-sm11">
                <input type="text" id="contentColumnName" lay-verify="required" lay-reqtext="请选择栏目" placeholder="请选择栏目" class="layui-input" disabled style="width: 300px;display: inline-block;">
                <input type="hidden" id="contentColumnId" name="contentColumnId" class="layui-input">
                <button type="button" class="layui-btn layui-btn" id="contentColumnBtn"><i class="fa fa-plus"></i> 选择栏目</button>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm1 required">内容标题</label>
            <div class="layui-col-sm11">
                <input type="text" name="title" id="title" lay-verify="required" lay-reqtext="标题不能为空" placeholder="请输入标题名称" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm1 required">内容</label>
            <div class="layui-col-sm11">
                <div id="editorContent" style="min-height:600px"></div>
                <input type="hidden" id="content" name="content">
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<!-- 导入js -->
<!-- wangEditor 富文本编辑器js -->
<script type="text/javascript" src="/layuimini/js/lay-module/wangEditor/wangEditor.js"></script>
<script type="text/javascript" src="/web/boContent/boContent_add.js"></script>